<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Subscribe extends Model
{
    protected $fillable = ['user_a', 'user_b'];

    public function usera()
    {
        return $this->belongsTo('App\Models\WechatUser', 'user_a');
    }

    public function userb()
    {
        return $this->belongsTo('App\Models\WechatUser', 'user_b');
    }
}
